Compiles the query.

Namespace:  C1.LiveLinq
Assembly:  C1.LiveLinq (in C1.LiveLinq.dll)

Syntax

C#
public static Func<T1, T2, T3, T4, IIndexedSource<TResult>> Compile<T1, T2, T3, T4, TResult>(
	Expression<Func<T1, T2, T3, T4, IIndexedSource<TResult>>> query
)
Visual Basic
Public Shared Function Compile(Of T1, T2, T3, T4, TResult) ( _
	query As Expression(Of Func(Of T1, T2, T3, T4, IIndexedSource(Of TResult))) _
) As Func(Of T1, T2, T3, T4, IIndexedSource(Of TResult))

Parameters

query
Type: System.Linq.Expressions..::..Expression<(Of <(<'Func<(Of <(<'T1, T2, T3, T4, IIndexedSource<(Of <(<'TResult>)>)>>)>)>>)>)>
The query expression to be compiled.

Type Parameters

T1
The type of the first parameter that has to be passed in when executing the delegate returned by the Compile method.
T2
The type of the second parameter that has to be passed in when executing the delegate returned by the Compile method.
T3
The type of the third parameter that has to be passed in when executing the delegate returned by the Compile method.
T4
The type of the fourth parameter that has to be passed in when executing the delegate returned by the Compile method.
TResult
The type of TResult in the IIndexedSource<TResult> returned when executing the delegate returned by the Compile method.

Return Value

The delegate to be called to execute the compiled query with particular parameter values.

See Also